home *** CD-ROM | disk | FTP | other *** search
- From: s.sanders2@genie.geis.com
- Date: Sun, 5 Jun 94 21:05:00 UTC
- To: gem-list@world.std.com
- Subject: DEFAULT.SYS: Draft proposal, 4
- X-Genie-Id: 0985040
- X-Genie-From: S.SANDERS2
- Precedence: bulk
-
- Reply: Item #7176694 from GEM-LIST-APPROVAL@WORLD.STD.COM@INET00#
-
- I've got a few ideas I'd like to share...
-
- IMHO it's probably a bad idea to require each application to parse a
- KEYBIND.SYS (or whatever) file individually. This leads to extra work
- (which means fewer people use it) and undoubtedly some programs will
- have bugs in _their_ parse code making them less portable between
- machines.
-
- The solution (and forgive me if this was meant to be 'doubly'
- implemented) is a global key definition array in memory. Let a
- Resident CPX or TSR define a cookie whose pointer points to an array
- like this:
-
- typedef struct _keydef_cookie
- {
- short func_code; /* As suggested 0-999 general, etc */
- short key_code; /* Key equivalent */
- short key_kbstate; /* Mask of required state */
- } KEYDEF_COOKIE;
-
- KEYDEF_COOKIE keysdefs[...];
-
- The array would be terminated by 0xFFFF func_code entry.
-
- -Scott @ SDS
-
- P.S. I think many people are misunderstanding the SHIFT-CTRL-C/V
- items. These items are in _many_ Windows, Mac, and Atari programs.
- The problem is that on the Atari they appear in a variety of
- non-standard ways. Many have 'Block Paste', 'Insert File', 'Paste
- File', etc... which would be the same as SHIFT-CTRL-V but also work
- in graphics programs, etc... SHIFT-CTRL-C is the same as 'Save
- selected data to a file' or 'Save Block' in editors. I am still not
- decided though whether I like the Append to Clipboard or Copy to...
- variant. The only problem with Append is that it only works with
- ASCII text editors.
-